package com.xuan.factory.abstarct;

public class ComputerFactory implements AbstractFactory{
    @Override
    public Device createDevice() {
        return new Computer();
    }

    @Override
    public Accessory createAccessory() {
        return new ComputerEar();
    }
}
